﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XGamingRuntime
{
    public enum XblHresult : Int32
    {
        /// <summary>
        /// HRESULT not recognized.
        /// </summary>
        HRESULT_NOT_RECOGNIZED = 0,

        // LibHttpClient HRESULTS
        E_HC_NOT_INITIALISED = -1994174463, // 0x89235001
        E_HC_PERFORM_ALREADY_CALLED = -1994174461, // 0x89235003
        E_HC_ALREADY_INITIALISED = -1994174460, // 0x89235004
        E_HC_CONNECT_ALREADY_CALLED = -1994174459, // 0x89235005
        E_HC_NO_NETWORK = -1994174458, // 0x89235006
        E_HC_NETWORK_NOT_INITIALIZED = -1994174457, // 0x89235007
        E_HC_INTERNAL_STILLINUSE = -1994174456, // 0x89235008

        // XSAPI HRESULTS
        E_XBL_RUNTIME_ERROR = -1994173952, //0x89235200
        E_XBL_RTA_GENERIC_ERROR = -1994173951, //0x89235201
        E_XBL_RTA_SUBSCRIPTION_LIMIT_REACHED = -1994173950, //0x89235202
        E_XBL_RTA_ACCESS_DENIED = -1994173949, //0x89235203
        E_XBL_AUTH_UNKNOWN_ERROR = -1994173948, //0x89235204
        E_XBL_AUTH_RUNTIME_ERROR = -1994173947, //0x89235205
        E_XBL_AUTH_NO_TOKEN = -1994173946, //0x89235206
        E_XBL_ALREADY_INITIALIZED = 1994173945, //0x89235207
        E_XBL_NOT_INITIALIZED = -1994173944, //0x89235208
        E_XBL_RTA_NOT_ACTIVATED = -1994173943 //0x89235209
    }
}
